package com.dk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @ClassName ZuulServiceApp
 * @Deacription TODO
 * @Author hqq
 * @Date 2021/10/28 19:43
 * @Version 1.0
 **/
@SpringBootApplication
@EnableZuulProxy  //开启网关
@EnableDiscoveryClient  //所有注册中心都能用,通用注解
public class ZuulServiceApp8766 {
    public static void main(String[] args) {
        SpringApplication.run(ZuulServiceApp8766.class,args);
    }
}
